var newPark = {
    
    init: function(){
        newPark.getData();
    },

    getData: function(){
        var form = document.getElementById('exitPark');
                
        if(form){
            form.exitOkButton.onclick = function(){
                if(validation.exitData(form)){
                    form.submit(); 
                }   
            } 
        } 
    }
    
};

newPark.init();

